<template>
  <div>
    <el-form
      :inline="true"
      ref="fromdata"
      :model="fromdata"
      label-width="130px"
      label-position="right"
    >
      <el-row>
        <el-col :span="4">工单基础信息</el-col>
      </el-row>
      <el-divider content-position="center"></el-divider>
      <el-row>
        <el-col :span="6">
          <el-form-item label="工单单号:">
            <div>{{ fromdata.workOrderCode }}</div>
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="所属门店:">
            <div>{{ fromdata.storeName }}</div>
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="单据日期:">
            <div>{{ fromdata.receiptsTime }}</div>
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="服务接待:">
            <div>{{ fromdata.receptionName }}</div>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  props: {
    fromdata: {
      type: Object,
      default: () => ({}),
    },
  },
  data() {
    return {
      rules: [],
    };
  },
  computed: {},
  async created() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
.el-table .delete-row {
  background: #f5f7fa;
  color: #ccc !important;
}
.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409eff;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px;
  text-align: center;
}
.avatar {
  width: 80px;
  height: 80px;
  display: block;
}
.colorF40 {
  color: #f40;
}
</style>
